var dbconfig = require('../config/dbconfig');

var Schema = dbconfig.Schema;

var UserSchema = new Schema({
  trades: {
    type: String
  },

  stock_positions: {
    type: String
  },

  summary: {
    type: String
  },

  benchmark_portfolio: {
    type: String
  },

  portfolio: {
    type: String
  },

  stock_account: {
    type: String
  }
});

var userModel = dbconfig.model('user', UserSchema);
module.exports = userModel;
